package com.xj.pattern.template.spring;

public class Test {
	
	public static void main(String[] args) {
		JdbcTemplate jdbc = new JdbcTemplate();
		jdbc.execute(new CallBack() {
			
			@Override
			public Object doInStatement(String res) {
				System.out.println("执行sql:"+res);
				return null;
			}
		});
	}

}
